package org.codeasy.site.devtools.pdm2devfiles.vo;

import java.util.ArrayList;
import java.util.List;


/*
 * Copyright 1999-2004 Alibaba.com All right reserved. This software is the
 * confidential and proprietary information of Alibaba.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Alibaba.com.
 */
/**
 * 类Table.java的实现描述：TODO 类实现描述 
 * @author chongan.wangca 2011-9-4 下午02:35:40
 */
public class Table {

    private String name;
    private String code;
    private List<Field> fieldsList = new ArrayList<Field>();
    private String comment;
    private Long creationDate;
    private String creator;
    private Long modificationDate;
    private String modifier;
    
    public String getName() {
        return name;
    }

    
    public void setName(String name) {
        this.name = name;
    }

    
    public String getCode() {
        return code;
    }

    
    public void setCode(String code) {
        this.code = code;
    }

    public List<Field> getFieldsList() {
        return fieldsList;
    }
    
    public void setFieldsList(List<Field> fieldsList) {
        this.fieldsList = fieldsList;
    }
    
    public String getComment() {
        return comment;
    }
    
    public void setComment(String comment) {
        this.comment = comment;
    }
    
    public Long getCreationDate() {
        return creationDate;
    }
    
    public void setCreationDate(Long creationDate) {
        this.creationDate = creationDate;
    }
    
    public String getCreator() {
        return creator;
    }
    
    public void setCreator(String creator) {
        this.creator = creator;
    }
    
    public Long getModificationDate() {
        return modificationDate;
    }
    
    public void setModificationDate(Long modificationDate) {
        this.modificationDate = modificationDate;
    }
    
    public String getModifier() {
        return modifier;
    }
    
    public void setModifier(String modifier) {
        this.modifier = modifier;
    }
    
    public void addField(Field field) {
        fieldsList.add(field);
    }
    
}
